package com.kll.carolinehmibiz.net.bean

import java.io.Serializable


/**
 * ====================================================
 *
 * 登录响应体
 *
 * Created by Ziliang Cai on 2021/12/6 21:46
 * <a href="mailto:752577456@qq.com">Contact me</a>
 * ====================================================
 */
class LoginResponse {

    var user: UserInfo? = null
    var token: UserToken? = null

    /**
     * 用户信息
     */
    class UserInfo : Serializable {
        var user_id: Int = 0
        // 腾讯IM对应用户ID
        var tencent_user_id: String = ""
        var admin_id: Int = 0
        var username: String = ""
        var mobile: String = ""
        var is_mobile: Int = 0
        var email: String = ""
        var is_email: Int = 0
        var nickname: String = ""
        var head_pic: String = ""
        var hobby: String = ""
        var sex: Int = 0
        var birthday: String = ""
        var level_icon: String = ""
        var user_level_id: Int = 0
        var user_address_id: Int = 0
        var group_id: Int = 0
        var last_login: String = ""
        var last_ip: String = ""
        var create_time: String = ""
        var status: Int = 0
        var update_time: String = ""
        var code: Int = 0
        var appkey: String = ""
        var version: String = ""
    }

    /**
     * 用户token
     */
    class UserToken: Serializable {
        var token: String = ""
        var refresh_token: String = ""
    }

}